<%--
  Created by IntelliJ IDEA.
  User: 张瑶瑶
  Date: 2024/12/13
  Time: 10:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>系统错误</title>
</head>
<body>
    <!-- 错误信息容器 -->
    <div class="error-container">
        <h1>系统错误</h1>
        <div class="error-message">
            错误内容：${message}
        </div>
        <button onclick="window.history.back()" class="back-button">返回上一页</button>
    </div>

    <!-- 样式定义 -->
    <style>
        /* 页面整体样式 */
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        /* 错误容器样式 */
        .error-container {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 500px;
            width: 90%;
        }

        /* 标题样式 */
        h1 {
            color: #e53935;
            margin-bottom: 20px;
        }

        /* 错误信息样式 */
        .error-message {
            color: #666;
            margin-bottom: 20px;
            padding: 15px;
            background-color: #ffebee;
            border-radius: 4px;
        }

        /* 返回按钮样式 */
        .back-button {
            background-color: #365EFF;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .back-button:hover {
            background-color: #2a4db8;
        }
    </style>
</body>
</html>
